package com.mengxuegu.member.base;

import java.util.List;

public class Page<T> extends com.baomidou.mybatisplus.extension.plugins.pagination.Page {

    public List<T> getRows() {
        return super.getRecords();
    }

    //设置为null，响应后就不会有数据
    public List<T> getRecords() {
        return null;
    }

    public Page(long current, long size) {
        super(current, size, 0L);
    }

}
